Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 6 - Sequence Grabber Channel Components / Sequence Grabber Channel Components Reference
Functions / Utility Functions for Sequence Grabber Channel Components


SGChangedSource

The SGChangedSource function allows you to tell the sequence grabber that your component is now using a different device.

pascal ComponentResult SGChangedSource (SeqGrabComponent s,
                                          SGChannel c);
s
Specifies the component instance that identifies the sequence grabber component that is using your channel. The sequence grabber provides this to you when it calls your SGInitChannel function (described on page 6-36).
c
Identifies the connection to your channel.
DESCRIPTION
Applications can instruct your channel to change its input device, for example, by calling the sequence grabber's SGSetChannelDevice function. The sequence grabber passes this request on to your channel component. Whenever you successfully change your input device, you should tell the sequence grabber by calling its SGChangedSource function. This allows the sequence grabber to update the information it keeps about your channel.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help